﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AvantGameMachine.FileSystem
{
    public class FileEntry
    {
        private bool isDirectory = false;

        internal FileEntry(bool _isDirectory)
        {
            isDirectory = _isDirectory;
        }

        public bool IsDirectory
        {
            get { return isDirectory; }
            set { isDirectory = value; }
        }

        public bool IsFile
        {
            get { return !isDirectory; }
            set { isDirectory = !value; }
        }
    }
}
